<?php


namespace app\swoole\controller;


class Tcp
{
    private $server = null;

    public function __construct()
    {
        $this->server = new \swoole_server('127.0.0.1', 9501);
        $this->server->on('Content', [$this, 'onConnecnt']);
        echo '		232321197211157927,银行卡号:6214834503840507,姓名:李敬波,未鉴权，请先完成鉴权再发起付款<br/>身份证号:	...';
    }

}